package com.tencreat.common.constant;

import com.tencreat.common.enums.UserType;
import com.tencreat.common.enums.mall.JumpTypeEnum;
import com.tencreat.common.enums.mall.LocatTypeEnum;

import java.util.HashMap;
import java.util.Map;

public class TencreatMapData {
    public static Map<Integer, String> lunboLocatType = new HashMap<>();
    public static Map<Integer, String> lunboJumpType = new HashMap<>();
    public static Map<Integer, UserType> userType = new HashMap<>();

    static {
        // 轮播图
        // 展示位置
        lunboLocatType.put(LocatTypeEnum.CONSUMER_INDEX.getType(), "首页");

        // 跳转位置
        lunboJumpType.put(JumpTypeEnum.WEB_VIEW.getType(), "网页");
        lunboJumpType.put(JumpTypeEnum.STALL_GOODS_INFO.getType(), "商品信息");
        lunboJumpType.put(JumpTypeEnum.NO_OPERATION.getType(), "无操作");
        lunboJumpType.put(JumpTypeEnum.MALL_SHOP.getType(), "商家商城");
        lunboJumpType.put(JumpTypeEnum.MALL_GOODS.getType(), "商家商品");

        //会员等级
        userType.put(UserType.ORDINARY.getValue(),UserType.ORDINARY);
/*        userType.put(UserType.JUNIOR_MEMBER.getValue(),UserType.JUNIOR_MEMBER);
        userType.put(UserType.INTERMEDIATE_MEMBER.getValue(),UserType.INTERMEDIATE_MEMBER);
        userType.put(UserType.SENIOR_MEMBER.getValue(),UserType.SENIOR_MEMBER);
        userType.put(UserType.MANAGER.getValue(),UserType.MANAGER);
        userType.put(UserType.DIRECTOR.getValue(),UserType.DIRECTOR);*/
    }

}
